import 'package:get/get.dart';
import 'package:speed_random/pages/home/rand_com/rand_com_args.dart';

class RandComState {
  final isRun = 0.obs;
  final min = 0.obs;
  final max = 100.obs;
  final count = 1.obs;
  final isRepeatable = false.obs;
  // 新增滚动时间状态
  final scrollTime = 3.obs;
  final scrollTimeStop = 0.obs;
  // 新增手动停止状态
  final isManualStop = false.obs;
  // 新增声音提示状态
  final isSoundEnabled = false.obs;
  // 是否补0状态
  final isadd0 = false.obs;
  // 新增震动提示状态
  final isVibrationEnabled = false.obs;
  final randomNumbers = <String>[].obs;
  final randomNumbersSum = 0.obs;
  final isShowSum = false.obs;
  final historyNumbers =[].obs;

  var funStart;
  var funStop;
  final randComArgs=RandComArgs.fromMap(Get.arguments ?? {}).obs;


  final initialChildSize = 0.7.obs; //滑动查看高度

}
